package com.peakmain.wanandroid.mymodule.contract;

import com.peakmain.wanandroid.netmodule.base.BaseContract;
import com.peakmain.wanandroid.netmodule.bean.PublicAccountBean;
import com.peakmain.wanandroid.netmodule.bean.PublicAccountListBean;

import java.util.List;

/**
 * author: peakmain
 * createdata：2019/7/25
 * mail: 2726449200@qq.com
 * desiption:
 */
public interface PublicAccountContract {

    interface View extends BaseContract.BaseView{

        void showPublicAccountList(List<PublicAccountListBean> data);

        void showPublicAccountDataSuccess(PublicAccountBean data);

        void showPublicAccountSearchSuccess(PublicAccountBean data);
    }

    interface Presenter extends BaseContract.BasePresenter<View>{
        void getPublicAccountList();
        void getPublicAccountData(int id,int page);

        void getPublicAccountSearchData(int id,int page,String key);
    }
}
